opencard.opt.applet.mgmt
Interface AppletManagerCardService

All Superinterfaces:
AppletAccessCardService, CardServiceInterface, SecureService

public interface AppletManagerCardService
extends AppletAccessCardService, SecureService

The AppletManagerCardService interface defines a set of calls for the maintenance of multiple applets on a card. This includes creating, registering and deleting applets on a multi-applicative smartcard.


This interface is typically implemented for card technology handling multi-applet management different (e.g. EMV compliant cards, JavaCards, ...)

Since:
OCF1.2
See Also:
AppletInfo, AppletID, AppletCode

Method Summary
 AppletInfo installApplet(AppletCode appletCode)
          Install an applet on the smart card.
 AppletInfo registerApplet(AppletID appletID)
          Register an applet on the smart card.
 AppletInfo removeApplet(AppletID appletID)
          Remove an applet from the smart card.
 
Methods inherited from interface opencard.opt.applet.mgmt.AppletAccessCardService
exists, getInfo, list
 
Methods inherited from interface opencard.opt.service.CardServiceInterface
getCard, setCHVDialog
 
Methods inherited from interface opencard.opt.security.SecureService
provideCredentials
 

Method Detail

installApplet

public AppletInfo installApplet(AppletCode appletCode)
                         throws CardServiceException,
                                CardTerminalException
Install an applet on the smart card.

Throws:
CardServiceException
CardTerminalException

registerApplet

public AppletInfo registerApplet(AppletID appletID)
                          throws CardServiceException,
                                 CardTerminalException
Register an applet on the smart card.

Parameters:
appletID - An AppletID representing the applet to be registered.
Throws:
CardServiceException - Thrown when error occurs during execution of the operation.
CardTerminalException

removeApplet

public AppletInfo removeApplet(AppletID appletID)
                        throws CardServiceException,
                               CardTerminalException
Remove an applet from the smart card.

Throws:
CardServiceException - Thrown when error occurs during execution of the operation.
CardTerminalException